#pragma once

#include "body.h"

class Spring
{
private:
    Body *mFrom, *mTo;

    double mSpringConstant, mDampingConstant, mRestLength;

    friend class World;
public:
    Spring( Body *pFrom, Body *pTo, float pSpringConstant, float pDampingConstant, float pRestLength );
    ~Spring( void );
};

